home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Macintosh Programmer’s Workshop / MPW 3.1 / MPW / Interfaces / CIncludes / Start.h < prev    next >
Text File  |  1990-12-13  |  1KB  |  77 lines

  1. /************************************************************
  2.  
  3. Created: Thursday, September 7, 1989 at 7:44 PM
  4.     Start.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.     Copyright Apple Computer, Inc.    1987-1989
  9.     All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __START__
  15. #define __START__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21. struct SlotDev {
  22.     char sdExtDevID;
  23.     char sdPartition;
  24.     char sdSlotNum;
  25.     char sdSRsrcID;
  26. };
  27.  
  28. typedef struct SlotDev SlotDev;
  29. struct SCSIDev {
  30.     char sdReserved1;
  31.     char sdReserved2;
  32.     short sdRefNum;
  33. };
  34.  
  35. typedef struct SCSIDev SCSIDev;
  36. union DefStartRec {
  37.     SlotDev slotDev;
  38.     SCSIDev scsiDev;
  39. };
  40.  
  41. typedef union DefStartRec DefStartRec;
  42.  
  43. typedef DefStartRec *DefStartPtr;
  44.  
  45. struct DefVideoRec {
  46.     char sdSlot;
  47.     char sdsResource;
  48. };
  49.  
  50. typedef struct DefVideoRec DefVideoRec;
  51. typedef DefVideoRec *DefVideoPtr;
  52.  
  53. struct DefOSRec {
  54.     char sdReserved;
  55.     char sdOSType;
  56. };
  57.  
  58. typedef struct DefOSRec DefOSRec;
  59. typedef DefOSRec *DefOSPtr;
  60.  
  61. #ifdef __cplusplus
  62. extern "C" {
  63. #endif
  64. pascal void GetDefaultStartup(DefStartPtr paramBlock);
  65. pascal void SetDefaultStartup(DefStartPtr paramBlock);
  66. pascal void GetVideoDefault(DefVideoPtr paramBlock);
  67. pascal void SetVideoDefault(DefVideoPtr paramBlock);
  68. pascal void GetOSDefault(DefOSPtr paramBlock);
  69. pascal void SetOSDefault(DefOSPtr paramBlock);
  70. pascal void SetTimeout(short count);
  71. pascal void GetTimeout(short *count);
  72. #ifdef __cplusplus
  73. }
  74. #endif
  75.  
  76. #endif
  77.